package com.heima.mapper;

import com.heima.Pojo.Brand;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BrandMapper {
    @Results({
            @Result(column = "brand_name",property = "brandName"),
            @Result(column = "company_name",property = "companyName")
    })

    @Select("select * from weblogin.tb_brand ")
    List<Brand> seleteAll ();
}
